package com.shyroke;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement  //开启事务管理
@MapperScan(basePackages="com.shyroke.mapper")  //mybatis扫描指定的包作为myabtis的mapper
@SpringBootApplication
public class PersionLibraryApplication {

	public static void main(String[] args) {
		SpringApplication.run(PersionLibraryApplication.class, args);
	}
}
